﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Negocio
{
    public class TestValue : PersistentObject
    {
        Test test;
        float valueExecution;

        public TestValue() 
        {
            this.ValueExecution = 0;
            this.Test = new Test();
        }

        public Test Test 
        {
            get { return this.test;}
            set { this.test = value;}
        }

        public float ValueExecution 
        {
            get { return this.valueExecution; }
            set { this.valueExecution = value; }
        }

        public override bool Equals(object obj)
        {
            return this.Test.Equals(((TestValue)obj).Test);
        }

        public override int GetHashCode()
        {
            return base.GetHashCode();
        }
    }
}
